<?php
require_once 'application/library/db/gcBasicDao.php';
require_once 'application/constant/dbConstant.php';
class dao_T_EC_M_GOODS_FIRST_CATGDao extends gcBasicDao {
    protected $_table = "T_EC_M_GOODS_FIRST_CATG";

    public function pbGetGoodsFirstCategory() {
        $sql = "select * from T_EC_M_GOODS_FIRST_CATG ";
        $arrGoodsFirstCategory = $this->select($sql, null, dbReturnType::ALL);
        return $arrGoodsFirstCategory;
    }

    public function pbGetGoodsSecondCategory() {
        $sql = "select * from T_EC_M_GOODS ";
        $arrGoods = $this->select($sql, null, dbReturnType::ALL);
        return $arrGoods;
    }
}